<div id="<?= $name;?>" class="ctype-field">
<?php $conf_label = array(); ?>
<?php if(form_error($name)): ?>
	<?php $conf_label['class'] = "input_error"; ?>
<?php endif; ?>
		
<?php $title_label = $properties['title']; ?>
<?php if(isset($required) && $required): ?>
	<?php $title_label .=  " *"; ?>
<?php endif; ?>
<?= form_label($title_label, $name, $conf_label);?>

<?php $value = set_value($name, $value); ?>

<textarea class="big" name="<?= $name;?>" rows="<?= $properties['rows'];?>"><?php if(isset($value) && $value != NULL) echo $value;?></textarea>
</div>
